const sqlite3 = require('sqlite3').verbose();
const path = require('path');

// 创建数据库连接
const db = new sqlite3.Database(path.join('../databasePro.db'),err=>{
  if(err){
    console.error(err);
  }else{
    console.log('数据库连接成功');
  }
});

module.exports = db;
